package cn.patient.pp.module.patients.dal.dataobject.patients;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.time.LocalDateTime;

/**
 * @author liqingsong
 * @version 1.0
 * Create by 2025/4/28
 */
@TableName("bussiness_operations_log")
@KeySequence("bussiness_operations_log_seq")
@Data
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OperationsLogDO {
    /**
     * id
     */
    @TableId
    private Integer id;
    /**
     * 姓名
     */
    private String patientName;
    /**
     * 身份证
     */
    private String idNumber;
    /**
     * 编号
     */
    private String patientCode;
    /**
     * 操作时间
     */
    private LocalDateTime operationTime;
    /**
     * 行为
     */
    private String action;
    /**
     * 详细数据
     */
    private String detailsData;
}

